<section class="block-user-message-wrapper<?php echo ( ($this->count%2 > 0) ? ' alternative' : ''); ?>">
    <div class="block-user-message-image-wrapper">
        <a href="<?php echo $this->baseUrl(); ?>/user/view/id/<?php echo $this->object->Userfrom->Id; ?>">
            <img src="<?php echo $this->baseUrl().$this->object->Userfrom->AvatarUrl; ?>" class="block-user-message-image" />
        </a>
    </div>
    <span class="block-user-message-title item"><?php echo $this->object->Subject; ?></span>
    <span class="block-user-message-authorline item">
        by <a href="<?php echo $this->baseUrl(); ?>/user/view/id/<?php echo $this->object->Userfrom->Id; ?>"><?php echo $this->object->Userfrom->Fullname; ?></a>
        on <?php echo $this->object->SendDate; ?>
    </span>
    <span class="block-user-message-authorline item">
        to <a href="<?php echo $this->baseUrl(); ?>/user/view/id/<?php echo $this->object->Userto->Id; ?>"><?php echo $this->object->Userto->Fullname; ?></a>
    </span>
    <span class="block-user-message-body item"><?php echo nl2br($this->object->Content); ?></span>
</section>